<?php

/**
 * Admin_Libraries_Controller_Action
 * @version         $Id: Action.php 01-08-2010
 * @file            Action.php
 *
 */
abstract class Backend_Libraries_Controller_Action extends Zend_Controller_Action
{
    protected $_em;
    protected $userInfo;

    /**
     * init
     */
    /**
     * init
     */
    public function init()
    {
        parent::init();

        $this->_em = Zend_Registry::get('entitymanager');

        $this->view->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8');

        $this->view->headLink()->appendStylesheet($this->view->baseUrl() . '/bootstrap/css/bootstrap.css', array('media' => 'screen'));
        $this->view->headLink()->appendStylesheet($this->view->baseUrl() . '/bootstrap/css/bootstrap-responsive.css', array('media' => 'screen'));
        $this->view->headLink()->appendStylesheet($this->view->baseUrl() . '/css/style.css', array('media' => 'screen'));
        $this->view->headLink()->appendStylesheet($this->view->baseUrl() . '/css/font-awesome.css', array('media' => 'screen'));

        $this->view->headScript()->appendFile($this->view->baseUrl() . '/js/jquery-1.7.1.min.js', 'text/javascript');
        $this->view->headScript()->appendFile($this->view->baseUrl() . '/bootstrap/js/bootstrap.min.js', 'text/javascript');
        $this->view->headScript()->appendFile($this->view->baseUrl() . '/bootstrap/js/bootbox.min.js', 'text/javascript');
    }

}